lamis theorem in mechanics